<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{pcPurchaseReqItemBean.id}"/>
		<f:event type="preRenderView" listener="#{pcPurchaseReqItemBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Pc Purchase Req Item"/>

	<ui:define name="header">
		Pc Purchase Req Item
	</ui:define>

	<ui:define name="subheader">
		View existing Pc Purchase Req Item
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="pcPurchaseReqItemBeanPcPurchaseReqItemMmItem" value="Mm Item:"/>
			<h:link id="pcPurchaseReqItemBeanPcPurchaseReqItemMmItem" outcome="/mmItem/view" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.mmItem}">
				<f:param name="id" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.mmItem.itemNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="pcPurchaseReqItemBeanPcPurchaseReqItemPcPurchaseReq" value="Pc Purchase Req:"/>
			<h:link id="pcPurchaseReqItemBeanPcPurchaseReqItemPcPurchaseReq" outcome="/pcPurchaseReq/view" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.pcPurchaseReq}">
				<f:param name="id" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.pcPurchaseReq.prNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="pcPurchaseReqItemBeanPcPurchaseReqItemSysUom" value="Sys Uom:"/>
			<h:link id="pcPurchaseReqItemBeanPcPurchaseReqItemSysUom" outcome="/sysUom/view" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.sysUom}">
				<f:param name="id" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.sysUom.uomNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="pcPurchaseReqItemBeanPcPurchaseReqItemPrSupplierItemCode" value="Pr Supplier Item Code:"/>
			<h:outputText id="pcPurchaseReqItemBeanPcPurchaseReqItemPrSupplierItemCode" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.prSupplierItemCode}"/>
			<h:outputText/>
			<h:outputLabel for="pcPurchaseReqItemBeanPcPurchaseReqItemPrItemCode" value="Pr Item Code:"/>
			<h:outputText id="pcPurchaseReqItemBeanPcPurchaseReqItemPrItemCode" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.prItemCode}"/>
			<h:outputText/>
			<h:outputLabel for="pcPurchaseReqItemBeanPcPurchaseReqItemPrItemDescr" value="Pr Item Descr:"/>
			<h:outputText id="pcPurchaseReqItemBeanPcPurchaseReqItemPrItemDescr" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.prItemDescr}"/>
			<h:outputText/>
			<h:outputLabel for="pcPurchaseReqItemBeanPcPurchaseReqItemPrQty" value="Pr Qty:"/>
			<h:outputText id="pcPurchaseReqItemBeanPcPurchaseReqItemPrQty" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.prQty}"/>
			<h:outputText/>
			<h:outputLabel for="pcPurchaseReqItemBeanPcPurchaseReqItemPrPpu" value="Pr Ppu:"/>
			<h:outputText id="pcPurchaseReqItemBeanPcPurchaseReqItemPrPpu" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.prPpu}"/>
			<h:outputText/>
			<h:outputLabel for="pcPurchaseReqItemBeanPcPurchaseReqItemPrStatusIncVat" value="Pr Status Inc Vat:"/>
			<h:outputText id="pcPurchaseReqItemBeanPcPurchaseReqItemPrStatusIncVat" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.prStatusIncVat}"/>
			<h:outputText/>
			<h:outputLabel for="pcPurchaseReqItemBeanPcPurchaseReqItemPrVatPercVal" value="Pr Vat Perc Val:"/>
			<h:outputText id="pcPurchaseReqItemBeanPcPurchaseReqItemPrVatPercVal" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.prVatPercVal}"/>
			<h:outputText/>
			<h:outputLabel for="pcPurchaseReqItemBeanPcPurchaseReqItemPrVatVal" value="Pr Vat Val:"/>
			<h:outputText id="pcPurchaseReqItemBeanPcPurchaseReqItemPrVatVal" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.prVatVal}"/>
			<h:outputText/>
			<h:outputLabel for="pcPurchaseReqItemBeanPcPurchaseReqItemPrTotalPriceExcVat" value="Pr Total Price Exc Vat:"/>
			<h:outputText id="pcPurchaseReqItemBeanPcPurchaseReqItemPrTotalPriceExcVat" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.prTotalPriceExcVat}"/>
			<h:outputText/>
			<h:outputLabel for="pcPurchaseReqItemBeanPcPurchaseReqItemPrTotalPrice" value="Pr Total Price:"/>
			<h:outputText id="pcPurchaseReqItemBeanPcPurchaseReqItemPrTotalPrice" value="#{pcPurchaseReqItemBean.pcPurchaseReqItem.prTotalPrice}"/>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>